home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK1.toast / Development Kits (Disc 1) / Open Transport / Sample Code / NetFractal™ / Fractal 8 source / DemoDoc.cp < prev    next >
Encoding:
Text File  |  1996-11-19  |  228 b   |  26 lines  |  [TEXT/MPCC]

  1. // DemoDoc.cp
  2.  
  3. #include "DemoDoc.h"
  4.  
  5.  
  6. DemoDoc::DemoDoc(
  7.     LCommander *inSuper)
  8. {
  9.     fNetPoint = nil;
  10. }
  11.  
  12.  
  13. DemoDoc::~DemoDoc()
  14. {
  15.     delete fNetPoint;
  16. }
  17.  
  18.     
  19. void
  20. DemoDoc::SetNetPoint(
  21.     NetPoint* inNewPoint)
  22. {
  23.     fNetPoint = inNewPoint;
  24. }
  25.  
  26.